
package com.be.beadmin.device.repository;

import com.be.beadmin.device.entity.DeviceInfo;
import io.swagger.models.auth.In;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;


/**
* @author chenxu
* @date 2023-09-07
**/
public interface DeviceInfoRepository extends JpaRepository<DeviceInfo, String>, JpaSpecificationExecutor<DeviceInfo> {

    DeviceInfo findDeviceInfoByIdAndDelete(String id, Integer delete);

    DeviceInfo findDeviceInfoById(String id);

    List<DeviceInfo> findDeviceInfosByDelete(Integer delete);

}